<table class="table table-bordered table-striped">
	<tr>
		<th>Page Title</th>
		<th>Author</th>
		<th>Created At</th>
		<th>Permalink</th>
		<th>Actions</th>
	</tr>
	<?php foreach($pages as $pages_rec): ?>
		<tr>
			<td><?php echo $pages_rec['jonu_pages_title'] ?></td>
			<td width="15%"><?php echo $pages_rec['jonu_admin_fullname'] ?></td>
			<td align="center" width="15%"><?php echo $pages_rec['jonu_pages_date'] ?></td>
			<td><?php echo $pages_rec['jonu_pages_permalink'] ?></td>
			<td width="10%" align="center">
				<a class="act-edit" href="<?php echo site_url("mimin_jonu/pages_edit/$pages_rec[jonu_pages_id]") ?>"><i class="fa fa-pencil"></i></a>
				<a class="act-delete" href="<?php echo site_url("mimin_jonu/pages_delete/$pages_rec[jonu_pages_id]") ?>"><i class="fa fa-trash-o"></i></a>
			</td>
		</tr>
	<?php endforeach; ?>
	<?php if(count($pages) == 0): ?>
		<tr>
			<td colspan="5" align="center">No drafted page</td>
		</tr>
	<?php endif; ?>
</table>
